<html>
<head>
<title>Applet Tester</title>

<script language="JavaScript">

// for browsing by SEARCH.
function openAppletFrame () {
    // Do some validation first
	if (form.username.value == "")
		alert ("Please supply a username");
	else {
    	window.open('applet_test_frame.html','','resizable=no, scrollbars=no, width=590,height=475');
    }
}

</script>

</head>

<body>

<font size="4" face="Verdana" color="#005599">
  <b>JOGRE Games Applet tester</b>
</font>

<form method="post" action="" name="form">
<table cellpadding="3" cellspacing="1" border="0" bgcolor="#666666" width="400">
  <tr bgcolor="#005599">
    <td height="30" colspan="2" align="center">
      <font face="Verdana" size="2" color="#ffffff"><b>Connection Settings</b></font>
    </td>
  </tr>
  <tr bgcolor="#F9F9F9">
    <td height="30" width="30%">
      <font size="2" face="Verdana" color="#55AA55">
		<b>Game</b>
	  </font>
	</td>
	<td height="30">
	  <select name="game">
		
		<option value="games/MWLReversi/applet_reversi.jar org.jogre.MWLReversi.client.MWLReversiApplet.class">MWLReversi</option>
		
      </select>
    </td>
  </tr>
  <tr bgcolor="#F9F9F9">
    <td height="30" height="30" width="30%">
      <font size="2" face="Verdana" color="#55AA55">
		<b>Username</b>
	  </font>
	</td>
	<td height="30">
  	  <input type="text" name="username" size="10" maxlength="20">
    </td>
  </tr>
  <tr bgcolor="#F9F9F9">
    <td height="30" height="30" width="30%">
      <font size="2" face="Verdana" color="#55AA55">
		<b>Password</b>
	  </font>
	</td>
	<td height="30">
  	   <input type="password" name="password" size="10" maxlength="20" value="">
  	   <input type="checkbox" selected="no" name="usepassword">
  	   <font size="2" face="Verdana" color="#444444">(click if required)</font>
    </td>
  </tr>
  
  <tr bgcolor="#F9F9F9">
    <td height="30" height="30" width="30%">
      <font size="2" face="Verdana" color="#55AA55">
		<b>Language</b>
	  </font>
	</td>
	<td height="30">
	  <select name="language">
		<option value="">English</option>
		<option value="fr">French</option>
		<option value="pl" selected >polski</option>
      </select>
    </td>
  </tr>
  <tr bgcolor="#F9F9F9">
    <td height="30" colspan="2" align="center">
		 <input type="button" name="Button" value="Connect" onclick="openAppletFrame()">
	</td>
  </tr>
</table>
</form>
</body>
</body>
